{% extends "base.html" %}

{% block title %}Biography of {{ person }}{% endblock %}

{% block content %}
<h3>{{ person.name }}</h3>
{{ person.bio|safe }}
{% if bands %}
<p>Bands:</p>
<ul>
  {% for stint in stints %}
  <li><a href="{{ stint.band.get_absolute_url }}">{{ stint.band.title }}</a> - {{ stint.instruments }} {% if stint.start_year %}
    ({{ stint.start_year }} -
    {% if stint.end_year %}
    {{ stint.end_year }}{% endif %})
    {% endif %} </li>
  {% endfor %}
</ul>
{% endif %}
{% endblock %}
